.layui-upload-list {
    width: 100%;
    margin-left: -15px;
    padding-top: 5px;

    &:after {
        content: '\20';
        display: block;
        clear: both;
        height: 0;
    }

    .layui-upload-item {
        position: relative;
        float: left;
        width: 20%;
        height: 150px;
        padding: 15px;
        box-sizing: border-box;
        text-align: center;

        .layui-upload-item-del {
            position: absolute;
            right: 0px;
            top: 0px;
            width: 30px;
            height: 30px;
            border: 1px solid #ddd;
            border-radius: 15px;
            line-height: 30px;
            text-align: center;
            background: #fff;
            font-size: 20px;
            cursor: pointer;

            &:hover {
                background: #eee;
            }
        }

        .layui-upload-item-img {
            display: block;
            width: 100%;
            height: 100%;
            border: 1px solid #ddd;
            border-radius: 3px;

            img {
                max-width: 100%;
                max-height: 100%;
            }
        }
    }
}